﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 申请退出团队表
    ///</summary>
    [SugarTable("xrc_broker_exit")]
    public class XrcBrokerExit
    {
        /// <summary>
        /// id
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// userid 
        ///</summary>
        [SugarColumn(ColumnName = "userId")]
        public int UserId { get; set; }
        /// <summary>
        /// 申请人姓名 
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }
        /// <summary>
        /// 用户openid 
        ///</summary>
        [SugarColumn(ColumnName = "parentId")]
        public int  ParentId { get; set; }
        /// <summary>
        /// 申请状态 0 待审核  1 成功 2 失败 
        ///</summary>
        [SugarColumn(ColumnName = "state")]
        public int state { get; set; }
        /// <summary>
        /// 申请时间 
        ///</summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
        [SugarColumn(ColumnName = "update_time")]
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 备注
        ///</summary>
        [SugarColumn(ColumnName = "remark")]
        public string Remark { get; set; }
    }
}
